package com.ll.daipao.service;

import com.ll.daipao.BaseTest;
import com.ll.daipao.dao.CityMapper;
import com.ll.daipao.dto.City;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * Created by ll on 2017/9/23.
 */
public class Service extends BaseTest{
    @Autowired
    CityMapper cityMapper;
//    @Test
    public void  getcity(){
        City city = cityMapper.selectByPrimaryKey(36);
        System.out.println(city.getTitle());

    }
}
